Did you ever get an answer to this problem? It's something we have struggled with since the iOS 17 release and it seems to still be a problem with the iOS 18 beta 3. We're using a TIF container for the Depth Map, feeding this into the PhotogrammetrySample, but still we get this error message. We also see incorrect scale in the resulting USDZ models, but the scale isn't consistently too small or too large ... it seems fairly random.
Post
Replies
Boosts
Views
Activity
I have been battling with the same issues. I have tried feeding a folder to the PhotogrammetrySession and also feeding it a sequence of PhotogrammetrySamples. Either way I always seem to get a resulting 3D model that is proportioned correctly, but is oriented on a skew angle or sometimes even upside down. Supplying gravity vectors seems to have zero effect on the result, so I'm not sure if they simply are unused or if they aren't used to orient the model. Apple's sample app seems to magically embed the gravity vector inside the HEIC file's metadata, as a result of the way the image itself is recorded using AVFoundation. But I'm recording the images inside an ARKit session, and the HEIC snapshots provided by ARKit don't include that EXIF gravity vector.
Did you find any solutions to this problem?
I also noticed this with beta 3 of XCode 13.3. The beta of XCode would crash its build system and you'd have to reboot before it could compile again. So I switched back to the production version (13.2.1) and continued using that for the past week.
But as of this morning (16th March) it looks like macOS decided to auto-update and my default version of Xcode is now 13.3 (release).
And guess what?
It still crashes its own build system with these (incorrect) build cycle errors and it's now totally unusable. Anyone know how to revert to a previous working version of Xcode?